/**
 * Created by Administrator on 2019/8/30.
 */


function hide(){
    document.querySelector(".hide-content").style.display="none";
    document.querySelector(".more-content").style.display="block";

}
function show(){
    document.querySelector(".hide-content").style.display="block";
    document.querySelector(".more-content").style.display="none";
}



function show_comment() {
    document.querySelector(".comment-content").style.display = "none";
    document.querySelector(".comment-content-detail").style.display="block";
}
function hide_comment() {
    document.querySelector(".comment-content").style.display = "block";
    document.querySelector(".comment-content-detail").style.display="none";
}
/*

function dashumin1(){
    var dashuminElemtnt = document.querySelector(".min-photos");
    var dashu = dashuminElemtnt.parentElement.firstElementChild.getAttribute("src");
    var dashuminElemtnt1 = document.querySelector(".min-photos").children;
    for(var i=1;i<dashuminElemtnt1.length-1;i++){
        var srccontent=dashuminElemtnt1[i].getAttribute("src");
    }
    dashuminElemtnt.parentElement.firstElementChild.setAttribute("src",srccontent);

}*/
function dashumin1(){

    var dashuminElemtnt = document.querySelector(".dashumin1");
    var dashu = dashuminElemtnt.parentElement.parentElement.firstElementChild;
    var newjpg = dashuminElemtnt.getAttribute("src");
    dashu.setAttribute("src",newjpg);
}
function dashumin2(){
    var dashuminElemtnt = document.querySelector(".dashumin2");
    var dashu = dashuminElemtnt.parentElement.parentElement.firstElementChild;
    var newjpg = dashuminElemtnt.getAttribute("src");
    dashu.setAttribute("src",newjpg);
}
function dashumin3(){
    var dashuminElemtnt = document.querySelector(".dashumin3");
    var dashu = dashuminElemtnt.parentElement.parentElement.firstElementChild;
    var newjpg = dashuminElemtnt.getAttribute("src");
    dashu.setAttribute("src",newjpg);
}